<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>订单列表</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <link rel="stylesheet" href="//at.alicdn.com/t/font_tnyc012u2rlwstt9.css" media="all"/>
    <link rel="stylesheet" href="{:_SKIN}/shadmin/v3//css/news.css" media="all"/>
    {:jq()}
</head>

<body class="childrenBody">
<blockquote class="layui-elem-quote news_search">
    <div class="layui-inline">
        <div class="layui-input-inline">
            <input type="text" value="" placeholder="请输入关键字" class="layui-input search_input" >
        </div>
        <a class="layui-btn search_btn">查询</a>
    </div>
    
    
    
    <div class="layui-inline">
        <a class="layui-btn layui-btn-danger batchDel">批量删除</a>
    </div>
    <div class="layui-inline">
        <div class="layui-form-mid layui-word-aux">　共找到 {$num} 条</div>
    </div>
</blockquote>
<div class="layui-form news_list">
    <table class="layui-table">
        <colgroup>
            <col width="50">
            <col>
            <col width="9%">
            <col width="9%">
            <col width="9%">
            <col width="9%">
            <col width="9%">
            <col width="30%">
        </colgroup>
        <thead>
        <tr>
            <th><input type="checkbox" name="" lay-skin="primary" lay-filter="allChoose" id="allChoose"></th>
            <th style="text-align:left;">订单内容</th>
            <th>价格</th>

            <th>收货人</th>
            <th>联系方式</th>
             <th>省市县</th>
            <th>收货地址</th>
            <th>下单时间</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody class="news_content">
        {volist name="list" id="v"}
        <tr>
            <td><input type="checkbox" name="checked" lay-skin="primary" lay-filter="choose">
                <div class="layui-unselect layui-form-checkbox" lay-skin="primary"><i class="layui-icon"></i></div>
            </td>
            <td align="left">{$v.title}</td>
            <td>{$v.money}</td>

            <td>{$v.name}</td>
            <td>{$v.tel}</td>

             <td>{$v.city}</td>
            <td>{$v.address}</td>
            <td>{$v.paytime}</td>
            <td><a class="layui-btn layui-btn-normal layui-btn-mini news_collect"><i class="layui-icon"></i> 预览</a>
            <a class="layui-btn layui-btn-danger layui-btn-mini news_del"  data-id="{$v.ID}"><i class="layui-icon"></i>
                删除</a></td>
        </tr>
        {/volist}
        </tbody>
    </table>
</div>

<div id="page">{$page}</div>

<style>
    .pagination { margin-left: 50px;}
    .pagination li { float: left; background: #34a8fe; color: #fff; margin-right:8px ; }
    .pagination li a,.pagination li span { color:#fff;padding: 8px 10px;display: block}
    .pagination .active  { background-color: #fe6738}

</style>
<script>
/*
    $(".news_del").click(function(){
        var id=$(this).data('id');
        parent.layer.confirm("确定要删除该新闻吗？删除后不可恢复",function(){

            $.post("{:url('dev/delnews')}",{id:id},function(res){

                if(res.code==200){


                    parent.layer.msg('删除成功',{shift:0,time:2000},function(){

                        location.reload();
                    });

                }else{

                    parent.layer.msg(res.msg);

                }

            });


        });


    });*/


</script>

{:layui()}
</body>
</html>